<?php

namespace App\Http\Service\Notice;

use App\Http\Service\Basic\BasicService;
use Config;

class NoticeService extends BasicService
{
    /**
     * @param $where
     * @return bool|mixed
     * 公告
     */
    public function Notice($where)
    {
        $url = '';
        if(isset($where['token'])){
            $url='&token='.$where['token'];
        }
        return  $this->curlLogic->callWebServer(Config::get('custom.setting.BASE_API_PATH').Config::get('custom.api.notice').$url);
    }
}